package com.git.smp.Exception;

public class SmpException  extends RuntimeException{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5699969399842305243L;

	private String errorCode;
	
	private String errorMessage;
	
	public SmpException(String errorCode,String errorMessage) {
		super();
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}
	
	public SmpException(String errorCode,String errorMessage,Exception e) {
		super(e);
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}
